-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: incorporate an AxEffects field in SymContext, introduce SymM
monad for SymContext
state
#180
Conversation
…th `getCurrentState` The latter refers to the `currentState` field from `AxEffects`, which stores the same state, but as an Expr
It was unused
…ymContext.next` monadic, and fold-in the reflection of the pc (removing the nextPc argument)
Co-authored-by: Shilpi Goel <[email protected]>
…t numbering scheme
Hmm, for some reason having a EDIT: I thought it might be something off with typeclass synthesis, but putting a
|
@alexkeizer and I minimized this, and will be sending an issue upstream soon. In the meantime, we also have a workaround so it's all good :) |
I pushed the workaround, @shigoel this is once more ready for review (and at the top of the priority queue from my side) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…ypotheses` functionality into `fromLocalContext` (#181) ### Description: Continues the cleanup started in #180 by getting rid of `h_err?` and `addGoalsForMissingHypotheses`. Note that we remove the ability to add a goal for `CheckSPAlignment`, this option was false by default, and never used ### Testing: What tests have been run? Did `make all` succeed for your changes? Was conformance testing successful on an Aarch64 machine? yes ### License: By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Co-authored-by: Shilpi Goel <[email protected]>
Description:
This turned into a rather big tech-debt removal PR. The primary focus is the removal of the duplication we had between
SymContext
tracking names of hypotheses, andAxEffects
trackingExpr
s for those same hypotheses.effects : AxEffects
field toSymContext
, which stores theAxEffects
for a single (non-aggregated!) stepSymM
monad, so that we don't have to project out to the effect field every single every time (credits/blame go to @bollu for showing me theMonadStateOf
trick).SymContext
which had duplicates inAxEffects
explodeSteps
and intoprepareForNextStep
(which was previously calledSymContext.next
),ensureAtMostRunSteps
andassertStepTheoremsGenerated
functions out of the main body ofsym_n
Testing:
What tests have been run? Did
make all
succeed for your changes? Wasconformance testing successful on an Aarch64 machine? yes
License:
By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.